package com.example.service.impl;


import com.example.entity.Information;
import com.example.entity.KHZM;
import com.example.entity.ZPerson;
import com.example.mapper.InformationMapper;
import com.example.service.IInformationService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 服务实现类
 * </p>
 *
 * @author tyhxzy
 * @since 2023-11-03
 */
@Service
public class InformationServiceImpl implements IInformationService {
    @Autowired
    private InformationMapper informationMapper;

    @Override
    public Information findAll(Integer id) {
        return informationMapper.selectByid(id);
    }

    @Override
    public int add(KHZM khzm) {
        return informationMapper.add(khzm);
    }


}
